<template>
  <div>此处用于做promise专项训练</div>
  <el-button @click="handleShowDialog">弹窗</el-button>
  <passDialog v-model="showDialog" v-if="showDialog"></passDialog>
</template>
<script setup>
import { ref } from "vue";
import passDialog from "./components/passDialog.vue";
import "./01nodeFs.js";

let showDialog = ref(false);
const handleShowDialog = () => {
  showDialog.value = true;
};
</script>
<style lang="scss" scoped></style>
